print('apple' > 'app')
print('Python' > 'Java')

# 比较的是原始值ord可以获取原始值
print(ord('p'), ord('j'))
# 取中文也可以的
print(ord('瑾'))

# ord取反的的内置函数为chr
print(chr(112), chr(106))

# == 与 is 的区别
# == 比较的是value
# is 比较的是id是否相同
a = b = 'Python'
c = 'Python'
print(a == b)
print(b == c)

print(a is b)
print(a is c)

print(id(a))
print(id(b))
print(id(c))
